package com.wangan.wanganpush.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.sql.Timestamp;

/**
 * 用户注册信息
 */
@Entity(name = "wangan_user_reg")
public class UserReg extends  BaseEntity{

    //B040002  帐号，填写B040040对应元素值;部分应用无上述概念，可填写手机号或者邮箱地址等信息
    private String  userAccount;

    //B040040  用户IM号/应用号/会员卡号，可见，一般为系统自动分配（也可自定义），如QQ号、易信号、微信号、携程会员卡号等
    private String  userIm;

    //B040003  用户内部ID，身份主键，应用自动分配唯一ID，一般不可见，没内部ID概念的应用填值同 B040002 元素值，即账号值
    private String  userId;

    //B020005  手机号
    private String  phone;

    //B040023  邮箱地址
    private String  email;

    //X900011  通行证，类似用户名，一般为注册时用户填写，如YY通行证等
    private String passport;

    //X900015  用户头像，带有图片文件体，此字段填文件名，该文件体和xml一同位于zip文件中
    private String userPhoto;

    //B040005   用户登录密码" fmt="base64"
    private String password;

    //B040004  昵称  fmt="base64
    private String  nickName;

    //B010001  真实姓名 fmt="base64
    private String  realName;

    //B010015  年龄
    private String age;

    //B010011 性别， 0 未知， 1 男性， 2 女性
    private String gender;

    //B010014  出生日期
    private String birthData;

    //G020026  注册时间
    private String  regTime;

    //B030002  注册城市
    private String regCity;

    //B040008  注册类型，0 用户名注册 1 手机号 2 邮箱
    private String regType;

    //F020001 注册IP地址
    private String regIp;

    //F020006 端口号
    private String regPort;

    //B020004  固定电话
    private String landlinePhone;

    //B030004  证件类型 参考GAT517-2004标准，常用字典码 111 居民身份证，113 户口簿，114 军官证，335 机动车驾驶证，414 普通护照 990 其他
    private String idType;

    //B030005  证件号码
    private String idNumber;

    //B030029 证件图片，认证时用，带有图片文件体，此字段填文件名，该文件体和xml一同位于zip文件中" ismedia="true"
    private String idPhoto;

    //B020008  rmk="联系地址" fmt="base64"
    private String address;

    //B030011 居住地
    private String domicile;

    //B010026 rmk="出生地，籍贯" fmt="base64"
    private String birthPlace;

    //B030024  职业名称" fmt="base64
    private String occupation;

    //C040002  rmk="注册终端MAC地址"
    private String macAddress;

    //C050001  移动终端IMEI/ESN/MEID
    private String  IMEI;

    //H160001  硬件特征串，用户终端硬件特征信息，由应用生成或获取
    private String  dd;

    //B020007   移动终端IMSI
    private String IMSI;

    //B040001  合作账号类型，1030001=QQ，1030036=微信，1330001=新浪微博，1330002=腾讯微博，1330003=人民微博，1330004=凤凰微博，1290007=支付宝，1299999=其他
    private String relationType;

    //X900001  关联的QQ号
    private String relationQQ;

    //X900003 关联的新浪微博账号
    private String relationSina;

    //X900005 关联的支付宝账号
    private String relationAlipay;

    //X900016 关联的微信账号
    private String relationWechat;

    //B040029   rmk="个性签名" fmt="base64"
    private String personalizedSignature;

    //B040030  个人说明" fmt="base64
    private String personalElucidation;

    //F010001 经度，浮点数表示形式，东经为正数西经为负数,移动终端注册时有效, 采用坐标系:BD-09百度
    private String longitude;

    //F010002  纬度，浮点数表示形式，北纬为正数南纬为负数。移动终端注册时有效, 采用坐标系:BD-09百度
    private String latitude;

    //I020017  位置信息
    private String  locationInfo;

    //H230001   用户类型，01 司机/车主，02 乘客/用户，99 其他
    private String  userType;

    //E010002  所属公司,如：北京嘀嘀无限科技发展有限公司等
    private String  company;

    //C030901  驾驶证档案号
    private String  driverLicenceNumber;

    //C030902 驾驶证图片，带有图片文件体，此字段填文件名，该文件体和xml一同位于zip文件中" ismedia="true
    private String driverLincencePicture;

    //H010003  动作类型，字典码 1新增，2 删除，3 修改/更新
    private String  actionType;

    //I010005  动作时间
    private String  actionTime;


    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserIm() {
        return userIm;
    }

    public void setUserIm(String userIm) {
        this.userIm = userIm;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public String getUserPhoto() {
        return userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getBirthData() {
        return birthData;
    }

    public void setBirthData(String birthData) {
        this.birthData = birthData;
    }

    public String getRegTime() {
        return regTime;
    }

    public void setRegTime(String regTime) {
        this.regTime = regTime;
    }

    public String getRegCity() {
        return regCity;
    }

    public void setRegCity(String regCity) {
        this.regCity = regCity;
    }

    public String getRegType() {
        return regType;
    }

    public void setRegType(String regType) {
        this.regType = regType;
    }

    public String getRegIp() {
        return regIp;
    }

    public void setRegIp(String regIp) {
        this.regIp = regIp;
    }

    public String getRegPort() {
        return regPort;
    }

    public void setRegPort(String regPort) {
        this.regPort = regPort;
    }

    public String getLandlinePhone() {
        return landlinePhone;
    }

    public void setLandlinePhone(String landlinePhone) {
        this.landlinePhone = landlinePhone;
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getIdPhoto() {
        return idPhoto;
    }

    public void setIdPhoto(String idPhoto) {
        this.idPhoto = idPhoto;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDomicile() {
        return domicile;
    }

    public void setDomicile(String domicile) {
        this.domicile = domicile;
    }

    public String getBirthPlace() {
        return birthPlace;
    }

    public void setBirthPlace(String birthPlace) {
        this.birthPlace = birthPlace;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public String getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(String macAddress) {
        this.macAddress = macAddress;
    }

    public String getIMEI() {
        return IMEI;
    }

    public void setIMEI(String IMEI) {
        this.IMEI = IMEI;
    }

    public String getDd() {
        return dd;
    }

    public void setDd(String dd) {
        this.dd = dd;
    }

    public String getIMSI() {
        return IMSI;
    }

    public void setIMSI(String IMSI) {
        this.IMSI = IMSI;
    }

    public String getRelationType() {
        return relationType;
    }

    public void setRelationType(String relationType) {
        this.relationType = relationType;
    }

    public String getRelationQQ() {
        return relationQQ;
    }

    public void setRelationQQ(String relationQQ) {
        this.relationQQ = relationQQ;
    }

    public String getRelationSina() {
        return relationSina;
    }

    public void setRelationSina(String relationSina) {
        this.relationSina = relationSina;
    }

    public String getRelationAlipay() {
        return relationAlipay;
    }

    public void setRelationAlipay(String relationAlipay) {
        this.relationAlipay = relationAlipay;
    }

    public String getRelationWechat() {
        return relationWechat;
    }

    public void setRelationWechat(String relationWechat) {
        this.relationWechat = relationWechat;
    }

    public String getPersonalizedSignature() {
        return personalizedSignature;
    }

    public void setPersonalizedSignature(String personalizedSignature) {
        this.personalizedSignature = personalizedSignature;
    }

    public String getPersonalElucidation() {
        return personalElucidation;
    }

    public void setPersonalElucidation(String personalElucidation) {
        this.personalElucidation = personalElucidation;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLocationInfo() {
        return locationInfo;
    }

    public void setLocationInfo(String locationInfo) {
        this.locationInfo = locationInfo;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDriverLicenceNumber() {
        return driverLicenceNumber;
    }

    public void setDriverLicenceNumber(String driverLicenceNumber) {
        this.driverLicenceNumber = driverLicenceNumber;
    }

    public String getDriverLincencePicture() {
        return driverLincencePicture;
    }

    public void setDriverLincencePicture(String driverLincencePicture) {
        this.driverLincencePicture = driverLincencePicture;
    }

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getActionTime() {
        return actionTime;
    }

    public void setActionTime(String actionTime) {
        this.actionTime = actionTime;
    }

    @Override
    public String toString() {
        return "UserReg{" +
                "userAccount='" + userAccount + '\'' +
                ", userIm='" + userIm + '\'' +
                ", userId='" + userId + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", passport='" + passport + '\'' +
                ", userPhoto='" + userPhoto + '\'' +
                ", password='" + password + '\'' +
                ", nickName='" + nickName + '\'' +
                ", realName='" + realName + '\'' +
                ", age='" + age + '\'' +
                ", gender='" + gender + '\'' +
                ", birthData='" + birthData + '\'' +
                ", regTime='" + regTime + '\'' +
                ", regCity='" + regCity + '\'' +
                ", regType='" + regType + '\'' +
                ", regIp='" + regIp + '\'' +
                ", regPort='" + regPort + '\'' +
                ", landlinePhone='" + landlinePhone + '\'' +
                ", idType='" + idType + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", idPhoto='" + idPhoto + '\'' +
                ", address='" + address + '\'' +
                ", domicile='" + domicile + '\'' +
                ", birthPlace='" + birthPlace + '\'' +
                ", occupation='" + occupation + '\'' +
                ", macAddress='" + macAddress + '\'' +
                ", IMEI='" + IMEI + '\'' +
                ", dd='" + dd + '\'' +
                ", IMSI='" + IMSI + '\'' +
                ", relationType='" + relationType + '\'' +
                ", relationQQ='" + relationQQ + '\'' +
                ", relationSina='" + relationSina + '\'' +
                ", relationAlipay='" + relationAlipay + '\'' +
                ", relationWechat='" + relationWechat + '\'' +
                ", personalizedSignature='" + personalizedSignature + '\'' +
                ", personalElucidation='" + personalElucidation + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", locationInfo='" + locationInfo + '\'' +
                ", userType='" + userType + '\'' +
                ", company='" + company + '\'' +
                ", driverLicenceNumber='" + driverLicenceNumber + '\'' +
                ", driverLincencePicture='" + driverLincencePicture + '\'' +
                ", actionType='" + actionType + '\'' +
                ", actionTime='" + actionTime + '\'' +
                '}';
    }
}
